package unimelb.distSystems.game.elements;

import com.jme3.asset.AssetManager;
import com.jme3.scene.Node;
import com.jme3.scene.Spatial;
import com.jme3.util.SkyFactory;

public class Sky {
    public void setup(AssetManager assetManager, Node rootNode) {
    	/*
        Texture west = assetManager.loadTexture("Models/sky.jpg");
        Texture east = assetManager.loadTexture("Models/sky.jpg");
        Texture north = assetManager.loadTexture("Models/sky.jpg");
        Texture south = assetManager.loadTexture("Models/sky.jpg");
        Texture up = assetManager.loadTexture("Models/sky.jpg");
        Texture down = assetManager.loadTexture("Models/sky.jpg");
        */

        //Spatial sky = SkyFactory.createSky(assetManager, west, east, north, south, up, down);
        Spatial sky=SkyFactory.createSky(assetManager, "Textures/Sky/Bright/BrightSky.dds", false);
        rootNode.attachChild(sky);
    }
}
